package com.gqzdev.xblog.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Newsuser)实体类
 *
 * @author ganquanzhong
 * @since 2020-03-07 21:46:53
 */
public class Newsuser implements Serializable {
    private static final long serialVersionUID = 835934060627804657L;
    /**
    * 用户id
    */
    private Integer uid;
    /**
    * 用户名
    */
    private String username;
    /**
    * 密码
    */
    private String password;

    private String name;

    private String email;
    
    private String phone;
    
    private String addr;
    
    private Date lasttime;
    
    private Date createtime;
    
    private Integer status;


    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Newsuser{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", addr='" + addr + '\'' +
                ", lasttime=" + lasttime +
                ", createtime=" + createtime +
                ", status=" + status +
                '}';
    }
}